import logging
def caiji_log():
    logging.basicConfig(filename="serviceplatformlog.txt",
                        filemode="w",
                        level=logging.DEBUG,
                        format="%(filename)s--%(asctime)s--%(lineno)s--%(message)s")